/*******************************************************************************
 * Copyright (c) 2009 Kevin Bierhoff and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Kevin Bierhoff - initial API and implementation
 *******************************************************************************/
package com.googlecode.twelfdevtools.twelfast;

public class Wildcard extends AbstractIdentifier implements ITwelfIdentifier {
	
	public Wildcard(int line, int col) {
		super(line, col, line, col+1);
	}
	
	public String getId() {
		return "_";
	}

	public <T> T dispatch(ITwelfAstVisitor<T> visitor) {
		return visitor.wildcard(this);
	}

	@Override
	public String toString() {
		return "_";
	}
}
